package com.ylr.demo1.循环依赖;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @ClassName B
 * @Description TODO
 * @Author 11
 * @Date 2021/6/1 20:18
 * @Version 1.0
 */
//@Component
public class B {
    // B中也注入了A
//    @Autowired
    private A a;
//    public B(A a){
//
//    }

}
